import pandas as pd
import numpy as np
from scipy import stats


def f_test(actual):
    stats.ttest_1samp(actual, popmean=0)


if __name__ == "__main__":
    data = np.array(pd.read_excel("predict.xlsx"))
    actual = np.array(data[:, 5])
    predict = np.array(data[:, 5]).reshape(len(data), 1)
    print(f_test(actual))
